package com.example.khandasawanat;

import java.util.List;

import com.google.gson.annotations.SerializedName;

public class Menu {
	@SerializedName(value="Beers")
	List<MenuItem> beers;
	@SerializedName(value="Lunch")
	List<MenuItem> lunch;
	
	public int getSubMenuCount(){
		return 2;
	}
	
	public String getSubMenuTitle(int position){
		switch (position) {
		case 0:
			return "Beers";
		case 1:
			return "Lunch";
		default:
			return "Naah!!";
		}
	}
}
